package models;

import com.alibaba.fastjson.JSONObject;

/**
 * Created by yangxianming on 2017/6/15.
 * 这里定义了接口的基本模型
 */
public class ApiModel {
    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String getPort_api() {
        return port_api;
    }

    public void setPort_api(String port_api) {
        this.port_api = port_api;
    }

    public JSONObject getHeader() {
        return header;
    }

    public void setHeader(JSONObject header) {
        this.header = header;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public JSONObject getParameters() {
        return parameters;
    }

    public void setParameters(JSONObject parameters) {
        this.parameters = parameters;
    }

    public String getDescribe_api() {
        return describe_api;
    }

    public void setDescribe_api(String describe_api) {
        this.describe_api = describe_api;
    }

    public int getProject() {
        return project;
    }

    public void setProject(int project) {
        this.project = project;
    }

    private String method = "";
    private String domain = "";
    private String port_api = "";
    private JSONObject header = new JSONObject();
    private String path = "";
    private JSONObject parameters = new JSONObject();
    private String describe_api = "";
    private int project;
}
